﻿using System.ComponentModel.DataAnnotations;

namespace Back_end.Models
{
    public class Company
	{
		[Key]
		[Display(Name = "企业名称")]
		public string Name
		{ get; set; }

		[Display(Name = "企业简介")]
		public string Introduction
		{ get; set; }

		[Display(Name = "企业照片")]
		public string ImgPath
		{ get; set; }

		[Display(Name = "企业地址")]
		public string Location
		{ get; set; }

		[Display(Name = "坐标")]
		public string Coordinates
		{ get; set; }

		[Display(Name = "被投诉次数")]
		public int ComplaintCount
		{ get; set; }

		[Display(Name = "整改结果")]
		public string Reviews
		{ get; set; }
	}
}